home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / ddj0897.zip / RCSC.ZIP / LIB51 / PAD.C < prev    next >
Text File  |  1997-01-12  |  130b  |  8 lines

  1. /*
  2. ** Place n occurrences of ch at dest.
  3. */
  4. pad(dest, ch, n) char *dest; unsigned n, ch; {
  5.   while(n--) *dest++ = ch;
  6.   }
  7.  
  8.